<div class="am-u-sm-12 widget main-w">
	<form class="am-form-inline tpl-form-border-form" action="" method="get">
		<div class="am-form-group am-u-sm-3 cl-p">
			<label class="am-u-sm-4 am-form-label am-text-truncate">乘客姓名:</label>
			<div class="am-u-sm-8 cl-p">
				<input type="text" class="am-form-field" name="name" placeholder="请输入乘客姓名" value="{$Think.get.name}">
			</div>
		</div>
		<div class="am-form-group am-u-sm-3 cl-p">
			<label class="am-u-sm-4 am-form-label am-text-truncate">优惠卷编号:</label>
			<div class="am-u-sm-8 cl-p">
				<input type="text" class="am-form-field" name="coupon_id" placeholder="请输入优惠卷编号" value="{$Think.get.coupon_id}">
			</div>
		</div>
		<div class="am-form-group am-u-sm-3 cl-p">
				<label class="am-u-sm-4 am-form-label am-text-truncate">使用状态:</label>
				<div class="am-u-sm-8 cl-p">
					<select name="used" style="height: 33px;">
						<option value="0">全部</option>
						<option value="1">已使用</option>
						<option value="2">未使用</option>
					</select>
				</div>

			</div>
		<div class="am-u-sm-3">
			<button type="submit" class="am-btn am-btn-sm am-btn-primary am-radius" style="margin-top: -2px;">查询<i class="am-icon-search"></i></button>
		</div>
	</form>
	<div class="am-u-sm-12 cl-p" style="margin-top: 20px;">
		<table width="100%"  class="am-table am-table-compact am-table-bordered am-table-radius am-table-striped tpl-table-black am-text-nowrap">
			<thead>
				<tr>
					<th>乘客</th>
					<th>优惠卷</th>
					<th>使用状态</th>
					<th>使用日期</th>
				</tr>
			</thead>
			<tbody>
				{foreach $list as $key => $item}
				<tr>
					<td>{$item.passenger_id}</td>
					<td>{$item.coupon_id}</td>
					<td>{$item.used}</td>
					<td>{$item.use_date}</td>
				</tr>
				{/foreach}
			</tbody>
		</table>
	</div>
</div>